home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Samples / C++ / Direct3D / DXTex / dxtex.rc < prev    next >
Encoding:
Text File  |  2004-09-30  |  30.3 KB  |  702 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24.  
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. //
  28. // RT_MANIFEST
  29. //
  30.  
  31. 1                       RT_MANIFEST MOVEABLE PURE "DxTex.manifest"
  32.  
  33. #ifdef APSTUDIO_INVOKED
  34. /////////////////////////////////////////////////////////////////////////////
  35. //
  36. // TEXTINCLUDE
  37. //
  38.  
  39. 1 TEXTINCLUDE MOVEABLE PURE 
  40. BEGIN
  41.     "resource.h\0"
  42. END
  43.  
  44. 2 TEXTINCLUDE MOVEABLE PURE 
  45. BEGIN
  46.     "#include ""afxres.h""\r\n"
  47.     "\0"
  48. END
  49.  
  50. 3 TEXTINCLUDE MOVEABLE PURE 
  51. BEGIN
  52.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  53.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  54.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  55.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  56.     "\r\n"
  57.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  58.     "#ifdef _WIN32\r\n"
  59.     "LANGUAGE 9, 1\r\n"
  60.     "#pragma code_page(1252)\r\n"
  61.     "#endif //_WIN32\r\n"
  62.     "#include ""afxres.rc""         // Standard components\r\n"
  63.     "#endif\r\n"
  64.     "\0"
  65. END
  66.  
  67. #endif    // APSTUDIO_INVOKED
  68.  
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Icon
  73. //
  74.  
  75. // Icon with lowest ID value placed first to ensure application icon
  76. // remains consistent on all systems.
  77. IDR_MAINFRAME           ICON    DISCARDABLE     "..\\..\\common\\directx.ico"
  78. IDR_DXTXTYPE            ICON    DISCARDABLE     "dxtexDoc.ico"
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81. //
  82. // Bitmap
  83. //
  84.  
  85. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "Toolbar.bmp"
  86.  
  87. /////////////////////////////////////////////////////////////////////////////
  88. //
  89. // Toolbar
  90. //
  91.  
  92. IDR_MAINFRAME TOOLBAR MOVEABLE PURE  16, 15
  93. BEGIN
  94.     BUTTON      ID_FILE_NEW
  95.     BUTTON      ID_FILE_OPEN
  96.     BUTTON      ID_FILE_SAVE
  97.     SEPARATOR
  98.     BUTTON      ID_APP_ABOUT
  99. END
  100.  
  101.  
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Menu
  105. //
  106.  
  107. IDR_MAINFRAME MENU DISCARDABLE 
  108. BEGIN
  109.     POPUP "&File"
  110.     BEGIN
  111.         MENUITEM "&New Texture...\tCtrl+N",     ID_FILE_NEW
  112.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  113.         MENUITEM SEPARATOR
  114.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  115.         MENUITEM SEPARATOR
  116.         MENUITEM "E&xit",                       ID_APP_EXIT
  117.     END
  118.     POPUP "&View"
  119.     BEGIN
  120.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  121.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  122.     END
  123.     POPUP "&Help"
  124.     BEGIN
  125.         MENUITEM "&About DxTex...",             ID_APP_ABOUT
  126.     END
  127. END
  128.  
  129. IDR_DXTXTYPE MENU DISCARDABLE 
  130. BEGIN
  131.     POPUP "&File"
  132.     BEGIN
  133.         MENUITEM "&New Texture...",             ID_FILE_NEW
  134.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  135.         MENUITEM "O&pen Onto Alpha Channel Of This Texture...", 
  136.                                                 ID_FILE_OPENALPHA
  137.         MENUITEM SEPARATOR
  138.         MENUITEM "Open Onto &This Surface...",  ID_FILE_OPENSUBSURFACE
  139.         MENUITEM "Open Onto Alpha Channel Of T&his Surface...", 
  140.                                                 ID_FILE_OPENALPHASUBSURFACE
  141.         MENUITEM SEPARATOR
  142.         MENUITEM "Open Onto Th&is Cubemap Face...", ID_FILE_OPENFACE
  143.         MENUITEM "Open Onto Alpha Channel Of This C&ubemap Face...", 
  144.                                                 ID_FILE_OPENALPHAFACE
  145.         MENUITEM SEPARATOR
  146.         MENUITEM "&Close",                      ID_FILE_CLOSE
  147.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  148.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  149.         MENUITEM SEPARATOR
  150.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  151.         MENUITEM SEPARATOR
  152.         MENUITEM "E&xit",                       ID_APP_EXIT
  153.     END
  154.     POPUP "&Edit"
  155.     BEGIN
  156.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  157.         MENUITEM SEPARATOR
  158.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  159.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  160.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  161.     END
  162.     POPUP "&View"
  163.     BEGIN
  164.         MENUITEM "&Original Format\t1",         ID_VIEW_ORIGINAL
  165.         MENUITEM "&New Format\t2",              ID_VIEW_COMPRESSED
  166.         MENUITEM SEPARATOR
  167.         POPUP "&Cube Map Face"
  168.         BEGIN
  169.             MENUITEM "Positive X\tX",               ID_VIEW_POSX
  170.             MENUITEM "Negative X\tx",               ID_VIEW_NEGX
  171.             MENUITEM "Positive Y\tY",               ID_VIEW_POSY
  172.             MENUITEM "Negative Y\ty",               ID_VIEW_NEGY
  173.             MENUITEM "Positive Z\tZ",               ID_VIEW_POSZ
  174.             MENUITEM "Negative Z\tz",               ID_VIEW_NEGZ
  175.         END
  176.         MENUITEM "&Alpha Channel Only",         ID_VIEW_ALPHACHANNEL
  177.         MENUITEM "Change &Background Color...", ID_VIEW_CHANGEBACKGROUNDCOLOR
  178.  
  179.         MENUITEM SEPARATOR
  180.         MENUITEM "&Higher Volume Slice\t>",     ID_VIEW_HIGHERVOLUMESLICE
  181.         MENUITEM "Lo&wer Volume Slice\t<",      ID_VIEW_LOWERVOLUMESLICE
  182.         MENUITEM SEPARATOR
  183.         MENUITEM "S&maller Mip Level\tPgDn",    ID_VIEW_SMALLERMIPLEVEL
  184.         MENUITEM "&Larger Mip Level\tPgUp",     ID_VIEW_LARGERMIPLEVEL
  185.         MENUITEM SEPARATOR
  186.         MENUITEM "Zoom I&n\t+",                 ID_VIEW_ZOOMIN
  187.         MENUITEM "Zoom O&ut\t-",                ID_VIEW_ZOOMOUT
  188.         MENUITEM SEPARATOR
  189.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  190.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  191.     END
  192.     POPUP "F&ormat"
  193.     BEGIN
  194.         MENUITEM "&Generate Mip Maps",          ID_FORMAT_GENERATEMIPMAPS
  195.         MENUITEM "&Change Surface Format...",   ID_FORMAT_CHANGESURFACEFMT
  196.         MENUITEM "&Make Into Cube Map...",      ID_FORMAT_CHANGECUBEMAPFACES
  197.         MENUITEM "M&ake Into Volume Map...",    ID_FORMAT_MAKEINTOVOLUMEMAP
  198.         MENUITEM "&Resize Texture...",          ID_FORMAT_RESIZE
  199.     END
  200.     POPUP "&Window"
  201.     BEGIN
  202.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  203.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  204.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  205.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  206.     END
  207.     POPUP "&Help"
  208.     BEGIN
  209.         MENUITEM "&About DxTex...",             ID_APP_ABOUT
  210.     END
  211. END
  212.  
  213.  
  214. /////////////////////////////////////////////////////////////////////////////
  215. //
  216. // Accelerator
  217. //
  218.  
  219. IDR_MAINFRAME ACCELERATORS MOVEABLE PURE 
  220. BEGIN
  221.     "+",            ID_VIEW_ZOOMIN,         ASCII,  NOINVERT
  222.     "-",            ID_VIEW_ZOOMOUT,        ASCII,  NOINVERT
  223.     "1",            ID_VIEW_ORIGINAL,       VIRTKEY, NOINVERT
  224.     "2",            ID_VIEW_COMPRESSED,     VIRTKEY, NOINVERT
  225.     "<",            ID_VIEW_LOWERVOLUMESLICE, ASCII, NOINVERT
  226.     ">",            ID_VIEW_HIGHERVOLUMESLICE, ASCII, NOINVERT
  227.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  228.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  229.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  230.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  231.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  232.     VK_ADD,         ID_VIEW_ZOOMIN,         VIRTKEY, NOINVERT
  233.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  234.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  235.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  236.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  237.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  238.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  239.     VK_NEXT,        ID_VIEW_SMALLERMIPLEVEL, VIRTKEY, NOINVERT
  240.     VK_PRIOR,       ID_VIEW_LARGERMIPLEVEL, VIRTKEY, NOINVERT
  241.     VK_SUBTRACT,    ID_VIEW_ZOOMOUT,        VIRTKEY, NOINVERT
  242.     "X",            ID_VIEW_NEGX,           VIRTKEY, NOINVERT
  243.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  244.     "X",            ID_VIEW_POSX,           VIRTKEY, SHIFT, NOINVERT
  245.     "Y",            ID_VIEW_NEGY,           VIRTKEY, NOINVERT
  246.     "Y",            ID_VIEW_POSY,           VIRTKEY, SHIFT, NOINVERT
  247.     "Z",            ID_VIEW_NEGZ,           VIRTKEY, NOINVERT
  248.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  249.     "Z",            ID_VIEW_POSZ,           VIRTKEY, SHIFT, NOINVERT
  250. END
  251.  
  252.  
  253. /////////////////////////////////////////////////////////////////////////////
  254. //
  255. // Dialog
  256. //
  257.  
  258. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 286, 82
  259. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  260. CAPTION "About DirectX Texture Tool"
  261. FONT 8, "MS Shell Dlg"
  262. BEGIN
  263.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  264.     LTEXT           "DirectX Texture Tool",IDC_STATIC,40,10,239,8,
  265.                     SS_NOPREFIX
  266.     LTEXT           "Copyright (c) Microsoft Corporation.  All rights reserved.",
  267.                     IDC_STATIC,40,35,239,8
  268.     DEFPUSHBUTTON   "OK",IDOK,121,61,43,14,WS_GROUP
  269.     LTEXT           "",IDC_VERSION,40,22,239,8
  270.     LTEXT           "See dxtex.txt for help with using this program.",
  271.                     IDC_STATIC,40,48,142,8
  272. END
  273.  
  274. IDD_CUBEMAP DIALOG DISCARDABLE  0, 0, 186, 133
  275. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  276. CAPTION "Create Cube Map"
  277. FONT 8, "MS Shell Dlg"
  278. BEGIN
  279.     DEFPUSHBUTTON   "OK",IDOK,35,112,50,14
  280.     PUSHBUTTON      "Cancel",IDCANCEL,101,112,50,14
  281.     LTEXT           "Select which face you would like the current image moved to:",
  282.                     IDC_STATIC,7,7,172,20
  283.     CONTROL         "Positive X",IDC_POSX,"Button",BS_AUTORADIOBUTTON | 
  284.                     WS_GROUP,7,30,172,10
  285.     CONTROL         "Negative X",IDC_NEGX,"Button",BS_AUTORADIOBUTTON,7,41,
  286.                     172,10
  287.     CONTROL         "Positive Y",IDC_POSY,"Button",BS_AUTORADIOBUTTON,7,52,
  288.                     172,10
  289.     CONTROL         "Negative Y",IDC_NEGY,"Button",BS_AUTORADIOBUTTON,7,63,
  290.                     172,10
  291.     CONTROL         "Positive Z",IDC_POSZ,"Button",BS_AUTORADIOBUTTON,7,74,
  292.                     172,10
  293.     CONTROL         "Negative Z",IDC_NEGZ,"Button",BS_AUTORADIOBUTTON,7,85,
  294.                     172,10
  295. END
  296.  
  297. IDD_VOLUMEMAP DIALOG DISCARDABLE  0, 0, 158, 122
  298. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  299. CAPTION "Create Volume Map"
  300. FONT 8, "MS Shell Dlg"
  301. BEGIN
  302.     LTEXT           "How many slices (layers) do you want to have in the volume map?",
  303.                     IDC_STATIC,7,7,144,20
  304.     DEFPUSHBUTTON   "OK",IDOK,21,101,50,14
  305.     PUSHBUTTON      "Cancel",IDCANCEL,87,101,50,14
  306.     CONTROL         "2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON | WS_GROUP,31,
  307.                     32,20,10
  308.     CONTROL         "4",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,31,44,20,10
  309.     CONTROL         "8",IDC_RADIO8,"Button",BS_AUTORADIOBUTTON,31,56,20,10
  310.     CONTROL         "16",IDC_RADIO16,"Button",BS_AUTORADIOBUTTON,31,68,24,10
  311.     CONTROL         "32",IDC_RADIO32,"Button",BS_AUTORADIOBUTTON,31,80,24,10
  312.     CONTROL         "64",IDC_RADIO64,"Button",BS_AUTORADIOBUTTON,85,32,24,10
  313.     CONTROL         "128",IDC_RADIO128,"Button",BS_AUTORADIOBUTTON,85,44,28,
  314.                     10
  315.     CONTROL         "256",IDC_RADIO256,"Button",BS_AUTORADIOBUTTON,85,56,28,
  316.                     10
  317.     CONTROL         "512",IDC_RADIO512,"Button",BS_AUTORADIOBUTTON,85,68,28,
  318.                     10
  319.     CONTROL         "1024",IDC_RADIO1024,"Button",BS_AUTORADIOBUTTON,85,80,
  320.                     32,10
  321. END
  322.  
  323. IDD_CHANGEFORMAT DIALOG DISCARDABLE  0, 0, 231, 146
  324. STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  325. CAPTION "Change Surface Format"
  326. FONT 8, "MS Shell Dlg"
  327. BEGIN
  328.     DEFPUSHBUTTON   "OK",IDOK,57,125,50,14
  329.     PUSHBUTTON      "Cancel",IDCANCEL,123,125,50,14
  330.     GROUPBOX        "Surface/Volume Format",IDC_STATIC,7,7,217,112
  331.     COMBOBOX        IDC_D3DFMT_COMBO,14,20,203,91,CBS_DROPDOWNLIST | 
  332.                     CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  333.     LTEXT           "Description",IDC_STATIC,14,44,36,8
  334.     EDITTEXT        IDC_FMTDESC,14,55,203,58,ES_MULTILINE | ES_READONLY | 
  335.                     WS_VSCROLL
  336. END
  337.  
  338. IDD_NEWTEXTURE DIALOG DISCARDABLE  0, 0, 231, 287
  339. STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  340. CAPTION "New Texture"
  341. FONT 8, "MS Shell Dlg"
  342. BEGIN
  343.     DEFPUSHBUTTON   "OK",IDOK,57,266,50,14
  344.     PUSHBUTTON      "Cancel",IDCANCEL,123,266,50,14
  345.     GROUPBOX        "Texture Type",IDC_STATIC,7,7,217,58
  346.     CONTROL         "Standard Texture",IDC_TEXTURE,"Button",
  347.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,18,20,193,10
  348.     CONTROL         "Cubemap Texture",IDC_CUBEMAP,"Button",
  349.                     BS_AUTORADIOBUTTON,18,33,193,10
  350.     CONTROL         "Volume Texture",IDC_VOLUMETEXTURE,"Button",
  351.                     BS_AUTORADIOBUTTON,18,46,193,10
  352.     GROUPBOX        "Dimensions",IDC_STATIC,7,70,217,62
  353.     LTEXT           "Width:",IDC_STATIC,18,86,22,8
  354.     EDITTEXT        IDC_WIDTH,53,83,40,14,ES_AUTOHSCROLL
  355.     LTEXT           "Height:",IDC_STATIC,18,106,24,8
  356.     EDITTEXT        IDC_HEIGHT,53,104,40,14,ES_AUTOHSCROLL
  357.     LTEXT           "Volume Depth:",IDC_VOLUMEDEPTHLABEL,106,86,48,8
  358.     EDITTEXT        IDC_DEPTH,164,83,40,14,ES_AUTOHSCROLL
  359.     LTEXT           "MipMap Levels:",IDC_STATIC,106,106,51,8
  360.     EDITTEXT        IDC_MIPCOUNT,164,104,40,14,ES_AUTOHSCROLL
  361.     GROUPBOX        "Surface/Volume Format",IDC_STATIC,7,139,217,112
  362.     COMBOBOX        IDC_D3DFMT_COMBO,14,152,203,91,CBS_DROPDOWN | 
  363.                     CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  364.     LTEXT           "Description",IDC_STATIC,14,176,36,8
  365.     EDITTEXT        IDC_FMTDESC,14,187,203,58,ES_MULTILINE | ES_READONLY | 
  366.                     WS_VSCROLL
  367. END
  368.  
  369. IDD_RESIZE DIALOG DISCARDABLE  0, 0, 158, 115
  370. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  371. CAPTION "Resize Texture"
  372. FONT 8, "MS Shell Dlg"
  373. BEGIN
  374.     DEFPUSHBUTTON   "OK",IDOK,21,94,50,14
  375.     PUSHBUTTON      "Cancel",IDCANCEL,87,94,50,14
  376.     LTEXT           "Old width:",IDC_STATIC,7,7,32,8
  377.     LTEXT           "Static",IDC_OLDWIDTH,73,7,19,8
  378.     LTEXT           "Old height:",IDC_STATIC,7,23,35,8
  379.     LTEXT           "Static",IDC_OLDHEIGHT,73,23,19,8
  380.     LTEXT           "New &width: ",IDC_STATIC,7,50,38,8
  381.     EDITTEXT        IDC_NEWWIDTH,73,46,40,14,ES_AUTOHSCROLL
  382.     LTEXT           "New &height: ",IDC_STATIC,7,69,41,8
  383.     EDITTEXT        IDC_NEWHEIGHT,73,66,40,14,ES_AUTOHSCROLL
  384. END
  385.  
  386.  
  387. /////////////////////////////////////////////////////////////////////////////
  388. //
  389. // DESIGNINFO
  390. //
  391.  
  392. #ifdef APSTUDIO_INVOKED
  393. GUIDELINES DESIGNINFO MOVEABLE PURE 
  394. BEGIN
  395.     IDD_ABOUTBOX, DIALOG
  396.     BEGIN
  397.         LEFTMARGIN, 7
  398.         RIGHTMARGIN, 279
  399.         TOPMARGIN, 7
  400.         BOTTOMMARGIN, 75
  401.     END
  402.  
  403.     IDD_CUBEMAP, DIALOG
  404.     BEGIN
  405.         LEFTMARGIN, 7
  406.         RIGHTMARGIN, 179
  407.         TOPMARGIN, 7
  408.         BOTTOMMARGIN, 126
  409.     END
  410.  
  411.     IDD_VOLUMEMAP, DIALOG
  412.     BEGIN
  413.         LEFTMARGIN, 7
  414.         RIGHTMARGIN, 151
  415.         TOPMARGIN, 7
  416.         BOTTOMMARGIN, 115
  417.     END
  418.  
  419.     IDD_CHANGEFORMAT, DIALOG
  420.     BEGIN
  421.         LEFTMARGIN, 7
  422.         RIGHTMARGIN, 224
  423.         TOPMARGIN, 7
  424.         BOTTOMMARGIN, 139
  425.     END
  426.  
  427.     IDD_NEWTEXTURE, DIALOG
  428.     BEGIN
  429.         LEFTMARGIN, 7
  430.         RIGHTMARGIN, 224
  431.         TOPMARGIN, 7
  432.         BOTTOMMARGIN, 280
  433.     END
  434.  
  435.     IDD_RESIZE, DIALOG
  436.     BEGIN
  437.         LEFTMARGIN, 7
  438.         RIGHTMARGIN, 151
  439.         TOPMARGIN, 7
  440.         BOTTOMMARGIN, 108
  441.     END
  442. END
  443. #endif    // APSTUDIO_INVOKED
  444.  
  445.  
  446. /////////////////////////////////////////////////////////////////////////////
  447. //
  448. // String Table
  449. //
  450.  
  451. STRINGTABLE DISCARDABLE 
  452. BEGIN
  453.     IDR_MAINFRAME           "DirectX Texture Tool"
  454.     IDR_DXTXTYPE            "\nTexture\nDDS\nDDS Files (*.dds)\n.dds\nDDS.Document\nDDS Document"
  455. END
  456.  
  457. STRINGTABLE DISCARDABLE 
  458. BEGIN
  459.     AFX_IDS_APP_TITLE       "DirectX Texture Tool"
  460.     AFX_IDS_IDLEMESSAGE     "Ready"
  461. END
  462.  
  463. STRINGTABLE DISCARDABLE 
  464. BEGIN
  465.     ID_INDICATOR_EXT        "EXT"
  466.     ID_INDICATOR_CAPS       "CAP"
  467.     ID_INDICATOR_NUM        "NUM"
  468.     ID_INDICATOR_SCRL       "SCRL"
  469.     ID_INDICATOR_OVR        "OVR"
  470.     ID_INDICATOR_REC        "REC"
  471. END
  472.  
  473. STRINGTABLE DISCARDABLE 
  474. BEGIN
  475.     ID_FILE_NEW             "Create a new document\nNew"
  476.     ID_FILE_OPEN            "Open an existing texture document\nOpen"
  477.     ID_FILE_CLOSE           "Close the active document\nClose"
  478.     ID_FILE_SAVE            "Save the active document\nSave"
  479.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  480. END
  481.  
  482. STRINGTABLE DISCARDABLE 
  483. BEGIN
  484.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  485.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  486. END
  487.  
  488. STRINGTABLE DISCARDABLE 
  489. BEGIN
  490.     ID_FILE_MRU_FILE1       "Open this document"
  491.     ID_FILE_MRU_FILE2       "Open this document"
  492.     ID_FILE_MRU_FILE3       "Open this document"
  493.     ID_FILE_MRU_FILE4       "Open this document"
  494.     ID_FILE_MRU_FILE5       "Open this document"
  495.     ID_FILE_MRU_FILE6       "Open this document"
  496.     ID_FILE_MRU_FILE7       "Open this document"
  497.     ID_FILE_MRU_FILE8       "Open this document"
  498.     ID_FILE_MRU_FILE9       "Open this document"
  499.     ID_FILE_MRU_FILE10      "Open this document"
  500.     ID_FILE_MRU_FILE11      "Open this document"
  501.     ID_FILE_MRU_FILE12      "Open this document"
  502.     ID_FILE_MRU_FILE13      "Open this document"
  503.     ID_FILE_MRU_FILE14      "Open this document"
  504.     ID_FILE_MRU_FILE15      "Open this document"
  505.     ID_FILE_MRU_FILE16      "Open this document"
  506. END
  507.  
  508. STRINGTABLE DISCARDABLE 
  509. BEGIN
  510.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  511.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  512. END
  513.  
  514. STRINGTABLE DISCARDABLE 
  515. BEGIN
  516.     ID_WINDOW_NEW           "Open another window for the active document\nNew Window"
  517.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
  518.     ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
  519.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
  520.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
  521.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  522. END
  523.  
  524. STRINGTABLE DISCARDABLE 
  525. BEGIN
  526.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  527.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  528.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  529.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  530.     ID_EDIT_FIND            "Find the specified text\nFind"
  531.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  532.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  533.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  534.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  535.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  536.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  537. END
  538.  
  539. STRINGTABLE DISCARDABLE 
  540. BEGIN
  541.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  542.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  543. END
  544.  
  545. STRINGTABLE DISCARDABLE 
  546. BEGIN
  547.     AFX_IDS_SCSIZE          "Change the window size"
  548.     AFX_IDS_SCMOVE          "Change the window position"
  549.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  550.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  551.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  552.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  553.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  554. END
  555.  
  556. STRINGTABLE DISCARDABLE 
  557. BEGIN
  558.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  559.     AFX_IDS_SCTASKLIST      "Activate Task List"
  560.     AFX_IDS_MDICHILD        "Activate this window"
  561. END
  562.  
  563. STRINGTABLE DISCARDABLE 
  564. BEGIN
  565.     ID_INDICATOR_IMAGEINFO  " "
  566.     ID_ERROR_ODDDIMENSIONS  "Texture maps must have even (multiple of 2) width and height."
  567.     ID_ERROR_NOTPOW2        "Source image width and height must be powers of 2."
  568.     ID_ERROR_WRONGDIMENSIONS 
  569.                             "This image does not have the same dimensions as the source image.  Is it okay to resize it?"
  570.     ID_ERROR_GENERATEALPHAFAILED 
  571.                             "Generation of the alpha image unexpectedly failed."
  572.     ID_ERROR_PREMULTALPHA   "This operation cannot be performed because the source image uses premultiplied alpha."
  573.     ID_ERROR_PREMULTTODXT1  "Warning: The source image contains premultiplied alpha, and the RGB values will be copied to the destination without ""unpremultiplying"" them, so the resulting colors may be affected."
  574.     ID_ERROR_CANTCREATEDEVICE 
  575.                             "Unable to create Direct3D Device.  Please make sure your desktop color depth is 16 or 32 bit, and that d3dref.dll is installed."
  576.     IDS_FMTDESC_A8R8G8B8    "32-bit RGB pixel format, where 8 bits are reserved for each color."
  577.     IDS_FMTDESC_A1R5G5B5    "16-bit pixel format where 5 bits are reserved for each color and 1 bit is reserved for alpha."
  578.     IDS_FMTDESC_A4R4G4B4    "16-bit ARGB pixel format with 4 bits for each channel."
  579.     IDS_FMTDESC_R8G8B8      "24-bit RGB pixel format with 8 bits per channel."
  580.     IDS_FMTDESC_R5G6B5      "16-bit RGB pixel format with 5 bits for red, 6 bits for green, and 5 bits for blue."
  581.     IDS_FMTDESC_DXT1        "Compressed texture format with 1-bit alpha."
  582.     IDS_FMTDESC_DXT2        "Compressed texture format with 4-bit premultiplied alpha."
  583.     IDS_FMTDESC_DXT3        "Compressed texture format with 4-bit nonpremultiplied alpha."
  584. END
  585.  
  586. STRINGTABLE DISCARDABLE 
  587. BEGIN
  588.     ID_FORMAT_GENERATEMIPMAPS "Generate Mip Maps"
  589.     ID_FORMAT_CHANGEIMAGEFORMAT "Convert to a different image format"
  590. END
  591.  
  592. STRINGTABLE DISCARDABLE 
  593. BEGIN
  594.     ID_FILE_OPENALPHA       "Loads an alpha channel onto the current texture"
  595.     ID_FILE_OPENSUBSURFACE  "Loads RGB data onto this surface of the texture"
  596.     ID_FILE_OPENALPHASUBSURFACE 
  597.                             "Loads Alpha data onto this surface of the texture"
  598. END
  599.  
  600. STRINGTABLE DISCARDABLE 
  601. BEGIN
  602.     ID_FILE_OPENFACE        "Loads RGB data onto this face of the cubemap texture"
  603.     ID_FILE_OPENALPHAFACE   "Loads Alpha data onto this face of the cubemap texture"
  604.     ID_RESIZE               "Resize the texture's dimensions"
  605. END
  606.  
  607. STRINGTABLE DISCARDABLE 
  608. BEGIN
  609.     IDS_FMTDESC_DXT4        "Compressed texture format with interpolated premultiplied alpha."
  610.     IDS_FMTDESC_DXT5        "Compressed texture format with interpolated nonpremultiplied alpha."
  611.     ID_ERROR_CANTCREATETEXTURE 
  612.                             "A texture could not be created with those settings."
  613.     ID_ERROR_D3DCREATEFAILED 
  614.                             "Could not initialize Direct3D.  Please ensure that this program was compiled with header files matching the installed version of DirectX."
  615.     ID_ERROR_COULDNTLOADFILE "An error occurred trying to open that file."
  616.     ID_ERROR_COULDNTSAVEFILE "An error occurred trying to save that file."
  617.     IDS_FMTDESC_X8R8G8B8    "32-bit RGB pixel format, where 8 bits are reserved for each color."
  618.     IDS_FMTDESC_X1R5G5B5    "16-bit pixel format where 5 bits are reserved for each color."
  619.     IDS_FMTDESC_R3G3B2      "8-bit RGB texture format using 3 bits for red, 3 bits for green, and 2 bits for blue."
  620.     IDS_FMTDESC_A8R3G3B2    "16-bit ARGB texture format using 8 bits for alpha, 3 bits each for red and green, and 2 bits for blue."
  621.     IDS_FMTDESC_X4R4G4B4    "16-bit RGB pixel format using 4 bits for each color."
  622. END
  623.  
  624. STRINGTABLE DISCARDABLE 
  625. BEGIN
  626.     ID_ERROR_NULLREF        "This program uses the reference rendering device.  Your computer has a reduced-functionality reference device installed.  You can still use this program to manipulate textures, but the textures will not be visible in this program.  Install the DirectX SDK to install the full reference device."
  627.     ID_ERROR_NEEDALPHA      "Alpha channel needed for this operation."
  628.     ID_ERROR_NEEDMULTOF4    "This operation cannot be performed because DXTn textures must have dimensions that are multiples of 4."
  629.     IDS_FMTDESC_A2R10G10B10 "32-bit pixel format using 10 bits for each color and 2 bits for alpha."
  630.     IDS_FMTDESC_A16B16G16R16 
  631.                             "64-bit pixel format using 16 bits for each component."
  632.     ID_ERROR_OUTOFMEMORY    "Insufficient memory to complete the operation."
  633.     ID_ERROR_UNKNOWN        "The operation cannot be completed because an unknown error has occurred."
  634.     IDS_FMTDESC_A8          "8-bit alpha only."
  635.     IDS_FMTDESC_G16R16      "32-bit pixel format using 16 bits each for green and red."
  636.     IDS_FMTDESC_A8P8        "16-bit pixel format using 8-bit indexed color and 8 bits of alpha."
  637.     IDS_FMTDESC_A8L8        "16-bit using 8 bits each for alpha and luminance."
  638.     IDS_FMTDESC_A4L4        "8-bit using 4 bits each for alpha and luminance."
  639.     IDS_FMTDESC_L8          "8-bit luminance only."
  640.     IDS_FMTDESC_P8          "8-bit color indexed."
  641.     IDS_FMTDESC_L16         "16-bit luminance only."
  642.     IDS_FMTDESC_A2B10G10R10 "32-bit pixel format using 10 bits for each color and 2 bits for alpha."
  643. END
  644.  
  645. STRINGTABLE DISCARDABLE 
  646. BEGIN
  647.     IDS_FMTDESC_A8B8G8R8    "32-bit ARGB pixel format with alpha, using 8 bits per channel."
  648.     IDS_FMTDESC_X8B8G8R8    "32-bit RGB pixel format, where 8 bits are reserved for each color."
  649.     IDS_FMTDESC_Q8W8V8U8    "32-bit bump-map format using 8 bits for each channel."
  650.     IDS_FMTDESC_V8U8        "16-bit bump-map format using 8 bits each for u and v data."
  651.     IDS_FMTDESC_V16U16      "32-bit bump-map format using 16 bits for each channel."
  652.     IDS_FMTDESC_Q16W16V16U16 
  653.                             "64-bit bump-map format using 16 bits for each component."
  654.     IDS_FMTDESC_CxV8U8      "16-bit normal compression format. The texture sampler computes the C channel from: C = sqrt(1 - U2 - V2)."
  655.     IDS_FMTDESC_L6V5U5      "16-bit bump-map format with luminance using 6 bits for luminance, and 5 bits each for v and u."
  656.     IDS_FMTDESC_X8L8V8U8    "32-bit bump-map format with luminance using 8 bits for each channel."
  657.     IDS_FMTDESC_A2W10V10U10 "32-bit bump-map format using 2 bits for alpha and 10 bits each for w, v, and u."
  658.     IDS_FMTDESC_G8R8_G8B8   "A 16-bit packed RGB format analogous to YUY2 (Y0U0, Y1V0, Y2U2, etc.). It requires a pixel pair in order to properly represent the color value. The first pixel in the pair contains 8 bits of green (in the high 8 bits) and 8 bits of red (in the low 8 bits). The second pixel contains 8 bits of green (in the high 8 bits) and 8 bits of blue (in the low 8 bits). Together, the two pixels share the red and blue components, while each has a unique green component (G0R0, G1B0, G2R2, etc.). The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range of 0.0f to 255.0f. This is true for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the 0.f to 1.f range and essentially treat it as the YUY2 texture. Hardware that exposes this format must have the PixelShader1xMaxValue member of D3DCAPS9 set to a value capable of handling that range."
  659.     IDS_FMTDESC_R8G8_B8G8   "A 16-bit packed RGB format analogous to UYVY (U0Y0, V0Y1, U2Y2, etc.). It requires a pixel pair in order to properly represent the color value. The first pixel in the pair contains 8 bits of green (in the low 8 bits) and 8 bits of red (in the high 8 bits). The second pixel contains 8 bits of green (in the low 8 bits) and 8 bits of blue (in the high 8 bits). Together, the two pixels share the red and blue components, while each has a unique green component (R0G0, B0G1, R2G2, etc.). The texture sampler does not normalize the colors when looking up into a pixel shader; they remain in the range of 0.0f to 255.0f. This is true for all programmable pixel shader models. For the fixed function pixel shader, the hardware should normalize to the 0.f to 1.f range and essentially treat it as the YUY2 texture. Hardware that exposes this format must have PixelShader1xMaxValue member of D3DCAPS9 set to a value capable of handling that range."
  660.     IDS_FMTDESC_UYVY        "UYVY format (PC98 compliance)"
  661.     IDS_FMTDESC_YUY2        "YUY2 format (PC98 compliance)"
  662.     IDS_FMTDESC_R16F        "16-bit float format using 16 bits for the red channel."
  663.     IDS_FMTDESC_G16R16F     "32-bit float format using 16 bits for the red channel and 16 bits for the green channel."
  664. END
  665.  
  666. STRINGTABLE DISCARDABLE 
  667. BEGIN
  668.     IDS_FMTDESC_A16B16G16R16F 
  669.                             "64-bit float format using 16 bits for the each channel (alpha, blue, green, red)."
  670.     IDS_FMTDESC_R32F        "32-bit float format using 32 bits for the red channel."
  671.     IDS_FMTDESC_G32R32F     "64-bit float format using 32 bits for the red channel and 32 bits for the green channel."
  672.     IDS_FMTDESC_A32B32G32R32F 
  673.                             "128-bit float format using 32 bits for the each channel (alpha, blue, green, red)."
  674. END
  675.  
  676. #endif    // English (U.S.) resources
  677. /////////////////////////////////////////////////////////////////////////////
  678.  
  679.  
  680.  
  681. #ifndef APSTUDIO_INVOKED
  682. /////////////////////////////////////////////////////////////////////////////
  683. //
  684. // Generated from the TEXTINCLUDE 3 resource.
  685. //
  686. #define _AFX_NO_SPLITTER_RESOURCES
  687. #define _AFX_NO_OLE_RESOURCES
  688. #define _AFX_NO_TRACKER_RESOURCES
  689. #define _AFX_NO_PROPERTY_RESOURCES
  690.  
  691. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  692. #ifdef _WIN32
  693. LANGUAGE 9, 1
  694. #pragma code_page(1252)
  695. #endif //_WIN32
  696. #include "afxres.rc"         // Standard components
  697. #endif
  698.  
  699. /////////////////////////////////////////////////////////////////////////////
  700. #endif    // not APSTUDIO_INVOKED
  701.  
  702.